<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:p="http://primefaces.org/ui"
	  xmlns:ui="http://java.sun.com/jsf/facelets">
	  
<ui:composition template="WEB-INF/_template.xhtml">
	<ui:define name="conteudo">
	<h:form>
	
		<h:panelGrid columns="3" cellpadding="7">
		
		<h:outputLabel for="txtUsuario" value="Usuário:"/>
		<p:inputText id="txtUsuario" value="#{loginBean.login.usuario}"/>
		<p:message for="txtUsuario" />
		
		<h:outputLabel for="txtSenha" value="Senha:"/>
		<p:password id="txtSenha" value="#{loginBean.login.senha}" redisplay="true" />
		<p:message for="txtSenha" />
		
		<f:facet name="footer">
			<p:commandButton value="Entrar"/>
		</f:facet>
		
		</h:panelGrid>
	</h:form>
	</ui:define>
</ui:composition>
</html>